import {  NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { MyAlertComponent } from './alert.component';
// import { AlertAnimateService } from './alert.service';
import { ModalModule } from 'ngx-bootstrap';
export * from './alert.service';

@NgModule({
  declarations: [
    MyAlertComponent
  ],
  imports: [CommonModule,ModalModule],
  exports: [MyAlertComponent]
//   providers: [AlertAnimateService]
})
export class MyAlertModule {
  static forRoot(): ModuleWithProviders {
    return {
      ngModule: MyAlertModule
    //   providers: [AlertAnimateService]
    };
  }
}